{php include wl_template('common/header');}
<ul class="nav nav-tabs" id="myTab">
	<li class="active"><a href="javascript:;">社群设置</a></li>
</ul>
<div class="app-content">
    <div class="app-form">
        <form action="" method="post" class="form-horizontal form" id="setting-form">
            <div class="panel panel-default">
                <div class="panel-heading">社群设置</div>
                <div class="panel-body">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">社群名称</label>
                        <div class="col-sm-9">
                            <input type="text" name="community[communname]" class="form-control" value="{$settings['communname']}" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">社群描述</label>
                        <div class="col-sm-9">
                            <input type="text" name="community[commundesc]" class="form-control" value="{$settings['commundesc']}" />
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">社群图标</label>
                        <div class="col-sm-9">
                            {php echo attachment_select('community[communimg]', $settings['communimg']);}
                            <span class="help-block">图片建议尺寸100X100</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">社群二维码</label>
                        <div class="col-sm-9">
                            {php echo attachment_select('community[communqrcode]', $settings['communqrcode']);}
                            <span class="help-block">图片建议尺寸300X300,如不上传二维码默认关闭社群功能</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-9">
                    <input type="submit" name="submit" value="提交" class="btn btn-primary min-width" />
                    <input type="hidden" name="token" value="{$_W['token']}" />
                </div>
            </div>
        </form>
    </div>
</div>
{php include wl_template('common/footer');}